       <!-- Page Content -->
        <div id="page-wrapper" ng-app="myApp" ng-controller="customersCtrl">
            <div class="row">
                <div class="col-lg-12" style="margin-top:51px">
                    <h1 class="page-header">云平台虚拟机资源消耗</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            宿主机列表
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <thead>
                                    <tr>
                                        <th>宿主机名称</th>
                                        <th>CPU</th>
                                        <th>Memory(M)</th>
                                        <th>宿主机详情</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="x in names">
                                  <td>{{ x.Name }}</td>
                                  <td>{{ x.Cpu }}</td>
                                  <td>{{ x.Memory }}</td>
                                  <td><a href="<%= originalUrl%>/{{ x.Country}}">进入</a></td>
                                </tr>
                                </tbody>
                            </table>
                            <!-- /.table-responsive -->
                            <!--div class="well">
                                <h4>DataTables Usage Information</h4>
                                <p>DataTables is a very flexible, advanced tables plugin for jQuery. In SB Admin, we are using a specialized version of DataTables built for Bootstrap 3. We have also customized the table headings to use Font Awesome icons in place of images. For complete documentation on DataTables, visit their website at <a target="_blank" href="https://datatables.net/">https://datatables.net/</a>.</p>
                                <a class="btn btn-default btn-lg btn-block" target="_blank" href="https://datatables.net/">View DataTables Documentation</a>
                            </div-->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
    <!-- /#wrapper -->

<script>
var app = angular.module('myApp', []);
//相对路径为/log/
app.controller('customersCtrl', function($scope, $http) {
    $http.get("node/hostServer/hostServer_JSON.json")
    .success(function (response) {
      $scope.names = response.records;
    });
});
</script>